package com.example.mall.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.mall.domain.SeckillActivities;
import com.example.mall.dto.SeckillActivitiesDto;
import com.example.mall.query.PageDTO;
import com.example.mall.query.SeckillActivitiesQuery;

import java.util.List;


/**
 * <p>
 * 秒杀活动表 服务类
 * </p>
 *
 * @author whale
 * @since 2025-05-06
 */
public interface ISeckillActivitiesService extends IService<SeckillActivities> {

    //分页查询秒杀活动表信息
    PageDTO<SeckillActivitiesDto> queryPage(SeckillActivitiesQuery seckillActivitiesQuery);

    //根据id查询秒杀活动表信息
    SeckillActivities querySeckillActivitiesById(Long activityId);

    //查询秒杀活动表信息
    List<SeckillActivities> querySeckillActivitiesList();

    //新增秒杀活动表信息
    void insert(SeckillActivitiesDto seckillActivitiesDto);

    //修改秒杀活动表信息
    void update(SeckillActivitiesDto seckillActivitiesDto);

    //删除秒杀活动表信息
    void delete(Long activityId);

    //批量删除秒杀活动表信息
    void deleteBatch(List<Long> activityIds);
}
